<template>
	<layout>
	<div class="aaaa">
	<h1> 业务类型管理</h1>
	</div>
	<div class="aadd">
		<div></div>
		<div></div>
		<div></div>

	</div>
	<div class="button">
	<el-button type="primary">新增业务类型</el-button>
	</div>

	<div class="Four">
	<el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      fixed
      prop="date"
      label="业务类型编号"
      width="150">
    </el-table-column>
    <el-table-column
      prop="name"
      label="业务类型名称"
      width="120">
    </el-table-column>
    <el-table-column
      prop="province"
      label="单价(元)"
      width="150">
    </el-table-column>
    <el-table-column
      prop="city"
      label="数量(张)"
      width="150">
    </el-table-column>
    <el-table-column
      fixed="right"
      label="操作"
      width="150">
      <template scope="scope">
        <el-button @click="handleClick" type="text" size="small">查看</el-button>
        <el-button type="text" size="small">编辑</el-button>
      </template>
    </el-table-column>
  </el-table>
	</div>
	</layout>

</template>

<script>
	import Layout from './new.vue'
	export default {
 	components: {
 		Layout
 	},
 	 methods: {
      handleClick() {
        console.log(1);
      }
    },
    data() {
      return {
        tableData: [{
          date: '1',
          name: 'A4纸单面黑白',
          province: '1',
          city: '77'
        }, {
          date: '2',
          name: 'A4纸单面彩色',
          province: '2',
          city: '100'
        }, {
          date: '3',
          name: 'A4纸一面黑白一面彩色',
          province: '3',
          city: '100'
        }]
      }
    }
 }
</script>
<style >
	.aadd{
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    border: 1px solid #dfe6ec;
    font-size: 14px;
    color: #1f2d3d
	},
	.aaaa{
	padding: 11px 19px;
	font-size: 16px;
	border-radius: 4px
	

	}
	.button{
	padding: 11px 19px;
	font-size: 16px;
	border-radius: 4px

	}
	.Four{
	width:60%; 
	padding: 11px 19px;
	font-size: 16px;
	border-radius: 4px
	}


</style>